Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T14213 abstract classes #14228

Merged
merged 58 commits into from
Jul 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
aadafd4
Printout correction
niden Jun 27, 2019
887ec09
Renaming abstract classes WIP
niden Jun 28, 2019
6cfd011
[#14213] - Moved Container to its own folder; Renamed abstract firewa…
niden Jun 30, 2019
056234a
[#14213] - Removed abstract from the classes
niden Jun 30, 2019
717bd19
[#14213] - Removed generated ext files
niden Jun 30, 2019
cc57558
[#14213] - Renamed Element to AbstractElement (Forms)
niden Jun 30, 2019
9a8969f
[#14213] - Moved Security in its own folder
niden Jun 30, 2019
ebb3816
[#14213] - Moved Escaper in its own folder
niden Jun 30, 2019
73865af
[#14213] - Moved constants for Acl to Enum; Renamed abstract adapters
niden Jun 30, 2019
756f3a9
[#14213] - Moved crypt in its folder
niden Jun 30, 2019
806529a
[#14213] - Adjusted tests; Added Enum classes; Refactored Db/Acl abst…
niden Jul 1, 2019
8602a6a
[#14213] - Fixed references
niden Jul 1, 2019
21b77e1
[#14213] - Fixing references; removed unecessary files
niden Jul 1, 2019
2d4bf21
[#14213] - More correction references
niden Jul 1, 2019
ede0955
[#14213] - Another reference correction
niden Jul 1, 2019
824d934
[#14213] - Renaming Dispatcher; Refactoring Image/Enum
niden Jul 1, 2019
1dda3cc
[#14213] - Refactor Dispatcher with AbstractDispatcher
niden Jul 1, 2019
b59ac10
[#14213] - Added enum class for the dispatcher constants
niden Jul 1, 2019
c861225
[#14213] - Removed redundant files; Added Dispatcher exception and co…
niden Jul 1, 2019
5b73cfa
[#14213] - Exception corrections
niden Jul 1, 2019
5f8a4bd
[#14213] - Fixed exception codes
niden Jul 1, 2019
72de07f
[#14213] - References corrections
niden Jul 1, 2019
9471ba1
[#14213] - More fixes for interfaces and class references
niden Jul 1, 2019
1aba34b
[#14213] - Corrected constants again
niden Jul 1, 2019
de1353c
[#14213] - One more correction to the references
niden Jul 1, 2019
9cfa682
[#14213] - Correcting more references
niden Jul 1, 2019
d88342a
[#14213] - More references corrections
niden Jul 1, 2019
4378691
[#14213] - Corrected Validation references
niden Jul 1, 2019
c7bae5e
[#14213] - Correction to instanceof comparison
niden Jul 1, 2019
aa6b5d2
[#14213] - Hopefully final corrections
niden Jul 1, 2019
5a481e2
[#14213] - Refactored Db/Mvc abstract classes
niden Jul 1, 2019
c63ee4b
[#14213] - Adjusted tests
niden Jul 1, 2019
3d00c07
[#14213] - Removed obsolete files
niden Jul 1, 2019
b22986d
Revert "[#14213] - Removed obsolete files"
niden Jul 1, 2019
271c06c
Revert "[#14213] - Adjusted tests"
niden Jul 1, 2019
cd98452
Revert "[#14213] - Refactored Db/Mvc abstract classes"
niden Jul 1, 2019
ad75b60
[#14213] - Refactor Pdo/Dialect
niden Jul 1, 2019
518e8be
[#14213] - Refactoring the Model\Behavior abstract class
niden Jul 1, 2019
e24b0d4
[#14213] - Refactored abstract Model class
niden Jul 1, 2019
a791e93
[#14213] - Correct model references
niden Jul 1, 2019
da4f429
[#14213] - Fixed class references in test models
niden Jul 2, 2019
2456f7c
[#14213] - More fixes to the model references
niden Jul 2, 2019
b244eda
[#14213] - More corrections
niden Jul 2, 2019
b708f49
Revert "[#14213] - More corrections"
niden Jul 2, 2019
8733f42
Revert "[#14213] - More fixes to the model references"
niden Jul 2, 2019
fe0e74e
Revert "[#14213] - Fixed class references in test models"
niden Jul 2, 2019
852b987
Revert "[#14213] - Correct model references"
niden Jul 2, 2019
fb45bc8
Revert "[#14213] - Refactored abstract Model class"
niden Jul 2, 2019
a6975d7
Revert "[#14213] - Refactoring the Model\Behavior abstract class"
niden Jul 2, 2019
37ef9f2
Revert "[#14213] - Refactor Pdo/Dialect"
niden Jul 2, 2019
13fed49
[#14213] - Changed Pdo to Abstract
niden Jul 2, 2019
1976bda
[#14213] - Updated changelog
niden Jul 2, 2019
3869212
[#14213] - Corrected API generation for method types
niden Jul 2, 2019
78c59c8
[#14213] - Updated the api generation script for better namespaces
niden Jul 2, 2019
c56449f
[#14213] - More corrections to the api script - removed obsolete file…
niden Jul 2, 2019
aa85286
[#14213] - Appveyor fix
niden Jul 2, 2019
b02b85e
[#14213] - Removed Zephir temp folder and adjusted the .gitignore
niden Jul 2, 2019
98e7bca
[#14213] - Removed not needed ext files
niden Jul 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ autom4te.cache/
/ide/

.zephir/
.temp/
zephir.phar

boxfile.yml
Expand Down
34 changes: 33 additions & 1 deletion CHANGELOG-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
- Added `Phalcon\Collection\ReadCollection`: Read only collection. [#14154](https://github.com/phalcon/cphalcon/pull/14154)
- Added `whiteList()` to `Phalcon\Helper\Arr` [#13954](https://github.com/phalcon/cphalcon/pull/13954)
- Added `Phalcon\Config\ConfigFactory::newInstance()`: Factory to create config objects. [#13201](https://github.com/phalcon/cphalcon/issues/13201), [#13768](https://github.com/phalcon/cphalcon/issues/13768)
- Added `Phalcon\Db\Enum` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Added `Phalcon\Dispatcher\Exception` [#14213](https://github.com/phalcon/cphalcon/issues/14213)

## Changed
- Renamed `Phalcon\Annotations\Adapter\Files` to `Phalcon\Annotations\Adapter\Stream`. [#13672](https://github.com/phalcon/cphalcon/issues/13672)
Expand Down Expand Up @@ -44,7 +46,37 @@
- `Phalcon\Mvc\Micro::setModelBinder()` now uses the Factory Default DI if none is set. [#14171](https://github.com/phalcon/cphalcon/pull/14171)
- `Phalcon\Mvc\Model\ValidationFailed` now works with `ModelInterface`.
- Refactored `Phalcon\Config` to extend `Phalcon\Collection` [#13201](https://github.com/phalcon/cphalcon/issues/13201), [#13768](https://github.com/phalcon/cphalcon/issues/13768)
- Renamed `Phalcon\Config` to extend `Phalcon\Config\Config` [#13201](https://github.com/phalcon/cphalcon/issues/13201), [#13768](https://github.com/phalcon/cphalcon/issues/13768)
- Renamed `Phalcon\Config` to extend `Phalcon\Config\Config` [#13201](https://github.com/phalcon/cphalcon/issues/13201), [#13768](https://github.com/phalcon/cphalcon/issues/13768)
- Renamed `Phalcon\Acl` to `Phalcon\Acl\Enum` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Acl\Adapter` to `Phalcon\Acl\Adapter\AbstractAdapter` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Acl\AdapterInterface` to `Phalcon\Acl\Adapter\AdapterInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Application` to `Phalcon\Application\AbstractApplication` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Container` to `Phalcon\Container\Container` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Crypt` to `Phalcon\Crypt\Crypt` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\CryptInterface` to `Phalcon\Crypt\CryptInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Db\Adapter` to `Phalcon\Db\Adapter\AbstractAdapter` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Db\AdapterInterface` to `Phalcon\Db\Adapter\AdapterInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Db` to `Phalcon\Db\AdapterDb` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Db\Adapter\Pdo` to `Phalcon\Db\Adapter\Pdo\AbstractPdo` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Dispatcher` to `Phalcon\Dispatcher\AbstractDispatcher` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\DispatcherInterface` to `Phalcon\Dispatcher\DispatcherInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Escaper` to `Phalcon\Escaper\Escaper` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\EscaperInterface` to `Phalcon\Escaper\EscaperInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Firewall\Adapter` to `Phalcon\Firewall\Adapter\AbstractAdapter` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Firewall\AdapterInterface` to `Phalcon\Firewall\Adapter\AdapterInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Flash` to `Phalcon\Flash\AbstractFlash` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\FlashInterface` to `Phalcon\Flash\FlashInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Forms\Element` to `Phalcon\Forms\Element\AbstractElement` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Forms\ElementInterface` to `Phalcon\Forms\Element\ElementInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Image` to `Phalcon\Image\Enum` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Mvc\View\Engine` to `Phalcon\Mvc\View\Engine\AbstractEngine` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Mvc\View\EngineInterface` to `Phalcon\Mvc\View\Engine\EngineInterface` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Security` to `Phalcon\Security\Security` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Validator` to `Phalcon\Validator\Validator` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Validator\Validator` to `Phalcon\Validator\AbstractValidator` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Validator\ValidatorComposite` to `Phalcon\Validator\AbstractValidatorComposite` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Validator\CombinedFieldsValidator` to `Phalcon\Validator\AbstractCombinedFields` [#14213](https://github.com/phalcon/cphalcon/issues/14213)
- Renamed `Phalcon\Validator\Validator\File\FileAbstract` to `Phalcon\Validator\Validator\File\AbstractFile` [#14213](https://github.com/phalcon/cphalcon/issues/14213)

## Fixed
- Fixed `Phalcon\Mvc\View::getRender()` to call `view->finish()` instead of `ob_end_clean()`. [#14095](https://github.com/phalcon/cphalcon/issues/14095)
Expand Down
83 changes: 0 additions & 83 deletions ext/phalcon/acl.zep.c

This file was deleted.

5 changes: 0 additions & 5 deletions ext/phalcon/acl.zep.h

This file was deleted.

189 changes: 0 additions & 189 deletions ext/phalcon/acl/adapter.zep.c

This file was deleted.

Loading