Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"doctrine/orm": "^2.5.4"
},
"require-dev": {
"hostnet/phpcs-tool": "^8.3",
"hostnet/phpcs-tool": "^9.1.0",
"phpunit/phpunit": "^9.4"
},
"autoload": {
Expand All @@ -30,5 +30,11 @@
"exclude": [
"/test"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false,
"hostnet/*": true
}
}
}
4 changes: 4 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<ruleset name="database-test-lib PHPCS">
<rule ref="Hostnet-Level-1"/>
</ruleset>
6 changes: 3 additions & 3 deletions src/MysqlPersistentConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class MysqlPersistentConnection implements ConnectionInterface, UrlConnectionInt
* If you close stdin of the process, the script
* will assume you are done and remove your database.
*/
const CMD_PERSISTENT = __DIR__ . '/../bin/mysql_persistent.sh';
private const CMD_PERSISTENT = __DIR__ . '/../bin/mysql_persistent.sh';

const CMD_GITLAB = __DIR__ . '/../bin/mysql_gitlab.sh';
private const CMD_GITLAB = __DIR__ . '/../bin/mysql_gitlab.sh';

const CMD_GITHUB = __DIR__ . '/../bin/mysql_github.sh';
private const CMD_GITHUB = __DIR__ . '/../bin/mysql_github.sh';

/**
* @var array
Expand Down