Skip to content

Commit 76c7811

Browse files
oliverkleeSam Tuke
authored andcommitted
[TASK] Use the renamed phplist/core package (#97)
The core package has been renamed. So the dependencies need to be updated.
1 parent 577d4f2 commit 76c7811

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ before_script:
5050
echo "Creating the database and importing the database schema";
5151
mysql -e "CREATE DATABASE ${PHPLIST_DATABASE_NAME};";
5252
mysql -u root -e "GRANT ALL ON ${PHPLIST_DATABASE_NAME}.* TO '${PHPLIST_DATABASE_USER}'@'%';";
53-
mysql ${PHPLIST_DATABASE_NAME} < vendor/phplist/phplist4-core/Database/Schema.sql;
53+
mysql ${PHPLIST_DATABASE_NAME} < vendor/phplist/core/Database/Schema.sql;
5454
5555
script:
5656
- >
@@ -81,9 +81,9 @@ script:
8181
- >
8282
echo;
8383
echo "Running PHPMD";
84-
vendor/bin/phpmd src/ text vendor/phplist/phplist4-core/Configuration/PHPMD/rules.xml;
84+
vendor/bin/phpmd src/ text vendor/phplist/core/Configuration/PHPMD/rules.xml;
8585
8686
- >
8787
echo;
8888
echo "Running PHP_CodeSniffer";
89-
vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ src/ tests/;
89+
vendor/bin/phpcs --standard=vendor/phplist/core/Configuration/PhpCodeSniffer/ src/ tests/;

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
- REST action for getting all subscribers for a list (#83)
1313

1414
### Changed
15+
- Use the renamed phplist/core package (#97)
1516
- Adopt more of the default Symfony project structure (#92, #93, #94, #95)
1617

1718
### Deprecated

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phpList is an open source newsletter manager.
1616

1717
This module is the REST API for phpList 4, providing functions for superusers
1818
to manage lists, subscribers and subscriptions via REST calls. It uses
19-
functionality from the `phplist/phplist4-core` module (the phpList 4 core).
19+
functionality from the `phplist/core` module (the phpList 4 core).
2020
It does not contain any SQL queries, uses functionality from the new core for
2121
DB access.
2222

@@ -40,7 +40,8 @@ which also has more detailed installation instructions in the README.
4040

4141
You can try out the API using pre-prepared requests and the Postman GUI
4242
tool. Install Postman as a browser extension or stand-alone app, open the
43-
[phpList 4 REST API Demo collection](https://documenter.getpostman.com/view/3293511/phplist-4-rest-api-demo/RVftkC9t#4710e871-973d-46fa-94b7-727fdc292cd5) and click 'Run in Postman'.
43+
[phpList 4 REST API Demo collection](https://documenter.getpostman.com/view/3293511/phplist-4-rest-api-demo/RVftkC9t#4710e871-973d-46fa-94b7-727fdc292cd5)
44+
and click "Run in Postman".
4445

4546

4647
## Contributing to this package

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"require": {
2828
"php": "~7.0.0 || ~7.1.0 || ~7.2.0",
2929

30-
"phplist/phplist4-core": "4.0.x-dev",
30+
"phplist/core": "4.0.x-dev",
3131
"friendsofsymfony/rest-bundle": "^2.2",
3232

3333
"roave/security-advisories": "dev-master"
@@ -86,7 +86,7 @@
8686
"symfony-var-dir": "var",
8787
"symfony-web-dir": "public",
8888
"symfony-tests-dir": "tests",
89-
"phplist/phplist4-core": {
89+
"phplist/core": {
9090
"bundles": [
9191
"FOS\\RestBundle\\FOSRestBundle",
9292
"PhpList\\RestBundle\\PhpListRestBundle"

0 commit comments

Comments
 (0)