Skip to content

Commit 12ca434

Browse files
oliverkleeSam Tuke
authored andcommitted
[CLEANUP] Rename Classes/ to src/ (#268)
This brings the project more in line with the default Symfony project structure.
1 parent 6ae10a8 commit 12ca434

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+14
-14
lines changed

.github/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ script:
5959
- >
6060
echo;
6161
echo "Linting all PHP files";
62-
find Classes/ tests/ web/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l; php -l bin/*;
62+
find src/ tests/ web/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l; php -l bin/*;
6363
6464
- >
6565
echo;
@@ -79,14 +79,14 @@ script:
7979
- >
8080
echo;
8181
echo "Running the static analysis";
82-
vendor/bin/phpstan analyse -l 5 bin/ Classes/ tests/ web/;
82+
vendor/bin/phpstan analyse -l 5 bin/ src/ tests/ web/;
8383
8484
- >
8585
echo;
8686
echo "Running PHPMD";
87-
vendor/bin/phpmd Classes/ text Configuration/PHPMD/rules.xml;
87+
vendor/bin/phpmd src/ text Configuration/PHPMD/rules.xml;
8888
8989
- >
9090
echo;
9191
echo "Running PHP_CodeSniffer";
92-
vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/ bin/ Classes/ tests/ web/;
92+
vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/ bin/ src/ tests/ web/;

CHANGELOG.md

Lines changed: 1 addition & 1 deletion

Configuration/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ doctrine:
5555
type: annotation
5656
is_bundle: false
5757
prefix: PhpList\PhpList4\Domain\Model
58-
dir: '%kernel.project_dir%/Classes/Domain/Model/'
58+
dir: '%kernel.project_dir%/src/Domain/Model/'

Configuration/services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ services:
3131
# controllers are imported separately to make sure they're public
3232
# and have a tag that allows actions to type-hint services
3333
PhpList\PhpList4\EmptyStartPageBundle\Controller\:
34-
resource: '../Classes/EmptyStartPageBundle/Controller'
34+
resource: '../src/EmptyStartPageBundle/Controller'
3535
public: true
3636
tags: [controller.service_arguments]

README.md

Lines changed: 1 addition & 1 deletion

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"autoload": {
5959
"psr-4": {
60-
"PhpList\\PhpList4\\": "Classes/"
60+
"PhpList\\PhpList4\\": "src/"
6161
}
6262
},
6363
"autoload-dev": {
File renamed without changes.

0 commit comments

Comments
 (0)