forked from rikbruil/specification
-
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.
Update to PHP 8.2, namespace and add author
- Loading branch information
1 parent
ba6dcfd
commit 73fc505
Showing
16 changed files
with
112 additions
and
180 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
extensions: | ||
- PhpSpec\Extension\CodeCoverageExtension | ||
|
||
code_coverage: | ||
format: | ||
- clover | ||
- html | ||
output: | ||
html: build/logs/html | ||
clover: build/logs/clover.xml | ||
|
||
suites: | ||
main: | ||
namespace: Rb\Specification | ||
psr4_prefix: Rb\Specification | ||
namespace: Purist\Specification | ||
psr4_prefix: Purist\Specification |
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,24 @@ | ||
<?php | ||
|
||
use Rector\Config\RectorConfig; | ||
use Rector\Doctrine\Set\DoctrineSetList; | ||
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictConstructorRector; | ||
|
||
return RectorConfig::configure()->withPaths([ | ||
__DIR__ . '/src', | ||
__DIR__ . '/spec', | ||
])->withPhpSets(php83: true)->withAttributesSets( | ||
symfony: true, | ||
doctrine: true, | ||
) | ||
// here we can define, what prepared sets of rules will be applied | ||
->withPreparedSets( | ||
deadCode: true, | ||
codeQuality: true, | ||
codingStyle: true, | ||
typeDeclarations: true, | ||
privatization: true, | ||
instanceOf: true, | ||
earlyReturn: true, | ||
strictBooleans: true, | ||
); |
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.