Skip to content

Commit 6ae10a8

Browse files
oliverkleeSam Tuke
authored andcommitted
[CLEANUP] Remove the pre-rewrite core classes (#267)
These classes are not used anymore. Fixes #266
1 parent 85a2043 commit 6ae10a8

Some content is hidden

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

51 files changed

+5
-12779
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ vendor/bin/phpstan analyse -l 5 bin/ Classes/ tests/ web/
136136
You can also run all code style checks using one long line from a bash shell:
137137

138138
```bash
139-
find Classes/ tests/ web/ core/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l && php -l bin/* && vendor/bin/phpstan analyse -l 5 bin/ Classes/ tests/ web/ && vendor/bin/phpmd Classes/ text Configuration/PHPMD/rules.xml && vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/ bin/ Classes/ tests/ web/
139+
find Classes/ tests/ web/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l && php -l bin/* && vendor/bin/phpstan analyse -l 5 bin/ Classes/ tests/ web/ && vendor/bin/phpmd Classes/ text Configuration/PHPMD/rules.xml && vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/ bin/ Classes/ tests/ web/
140140
```
141141

142142
This will execute all tests except for the unit tests and the integration

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,12 @@ script:
5959
- >
6060
echo;
6161
echo "Linting all PHP files";
62-
find Classes/ tests/ web/ core/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l; php -l bin/*;
62+
find Classes/ tests/ web/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l; php -l bin/*;
6363
6464
- >
6565
echo;
6666
echo "Running the unit tests";
6767
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Unit/;
68-
vendor/bin/phpunit core/tests/;
6968
7069
- >
7170
echo;

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1212
- Bidirectional m:n association Subscribers/SubscriberLists (#254)
1313

1414
### Changed
15+
- Remove the obsolete core classes (#267)
1516
- Adopt more of the default Symfony project structure (#265)
1617

1718
### Deprecated

composer.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,8 @@
5757
},
5858
"autoload": {
5959
"psr-4": {
60-
"PhpList\\PhpList4\\": "Classes/",
61-
62-
"phpList\\": "core/",
63-
"phpList\\helper\\": "core/helper/"
64-
},
65-
"files": [
66-
"core/helper/Shortcuts.php"
67-
]
60+
"PhpList\\PhpList4\\": "Classes/"
61+
}
6862
},
6963
"autoload-dev": {
7064
"psr-4": {

core/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)