-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Literal support for default values
- Replaced PopoConfigurator with generated PopoConfigurator
- Loading branch information
1 parent
46f456f
commit e517998
Showing
14 changed files
with
666 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ vendor | |
!.gitignore | ||
.DS_Store | ||
phpunit.xml | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
language: php | ||
php: | ||
- 7.4 | ||
- 8.0 | ||
|
||
before_script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ parameters: | |
- tests/bootstrap.php | ||
excludePaths: | ||
- tests/* | ||
- src/Popo/PopoConfigurator.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
$: | ||
config: | ||
namespace: Popo | ||
outputPath: src/ | ||
default: | ||
comment: | | ||
@SuppressWarnings(PHPMD) | ||
@phpcs:ignoreFile | ||
Popo: | ||
PopoConfigurator: | ||
default: | ||
phpFilePluginCollection: | ||
- \Popo\Plugin\PhpFilePlugin\StrictTypesPhpFilePlugin::class | ||
- \Popo\Plugin\PhpFilePlugin\CommentPhpFilePlugin::class | ||
namespacePluginCollection: | ||
- \Popo\Plugin\NamespacePlugin\UseUnexpectedValueExceptionPlugin::class | ||
classPluginCollection: | ||
- \Popo\Plugin\ClassPlugin\DateTimeMethodClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\ExtendClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\FromArrayClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\ImplementClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\IsNewClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\ListModifiedPropertiesClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\MetadataClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\ModifiedToArrayClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\PopoMethodClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\RequireAllClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\ToArrayClassPlugin::class | ||
- \Popo\Plugin\ClassPlugin\UpdateMapClassPlugin::class | ||
propertyPluginCollection: | ||
- \Popo\Plugin\PropertyPlugin\AddItemPropertyMethodPlugin::class | ||
- \Popo\Plugin\PropertyPlugin\DefinePropertyPlugin::class | ||
- \Popo\Plugin\PropertyPlugin\GetPropertyMethodPlugin::class | ||
- \Popo\Plugin\PropertyPlugin\HasPropertyMethodPlugin::class | ||
- \Popo\Plugin\PropertyPlugin\RequirePropertyMethodPlugin::class | ||
- \Popo\Plugin\PropertyPlugin\SetPropertyMethodPlugin::class | ||
property: [ | ||
{name: schemaPath} | ||
{name: namespace} | ||
{name: namespaceRoot} | ||
{name: outputPath} | ||
{name: phpFilePluginCollection, type: array, itemType: string, itemName: phpFilePluginClass} | ||
{name: namespacePluginCollection, type: array, itemType: string, itemName: namespacePluginClass} | ||
{name: classPluginCollection, type: array, itemType: string, itemName: classPluginClass} | ||
{name: propertyPluginCollection, type: array, itemType: string, itemName: propertyPluginClass} | ||
{name: schemaConfigFilename} | ||
{name: schemaPathFilter} | ||
{name: schemaFilenameMask, default: '*.popo.yml'} | ||
{name: shouldIgnoreNonExistingSchemaFolder, type: bool} | ||
]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.