Compare commits

..

No commits in common. "master" and "v3.0.0" have entirely different histories.

6 changed files with 4 additions and 6 deletions

View file

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
php-versions: ['7.4', '8.0', '8.4'] php-versions: ['7.4', '8.0']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View file

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
php-versions: ['7.4', '8.0', '8.4'] php-versions: ['7.4', '8.0']
name: php${{ matrix.php-versions }} lint name: php${{ matrix.php-versions }} lint
steps: steps:
- name: Checkout - name: Checkout

View file

@ -25,7 +25,6 @@ class SearchPropertyDefinition {
const XS = '{http://www.w3.org/2001/XMLSchema}'; const XS = '{http://www.w3.org/2001/XMLSchema}';
const DATATYPE_STRING = self::XS . 'string'; const DATATYPE_STRING = self::XS . 'string';
const DATATYPE_INTEGER = self::XS . 'integer'; const DATATYPE_INTEGER = self::XS . 'integer';
const DATATYPE_NONNEGATIVE_INTEGER = self::XS . 'nonNegativeInteger';
const DATATYPE_NON_NEGATIVE_INTEGER = self::XS . 'nonNegativeInteger'; const DATATYPE_NON_NEGATIVE_INTEGER = self::XS . 'nonNegativeInteger';
const DATATYPE_DECIMAL = self::XS . 'decimal'; const DATATYPE_DECIMAL = self::XS . 'decimal';
const DATATYPE_DATETIME = self::XS . 'dateTime'; const DATATYPE_DATETIME = self::XS . 'dateTime';

View file

@ -76,7 +76,6 @@ class QueryParser extends Service {
'{DAV:}contains' => Operator::class, '{DAV:}contains' => Operator::class,
'{DAV:}not' => Operator::class, '{DAV:}not' => Operator::class,
'{DAV:}is-collection' => Operator::class, '{DAV:}is-collection' => Operator::class,
'{DAV:}is-defined' => Operator::class,
'{DAV:}limit' => Limit::class, '{DAV:}limit' => Limit::class,
]; ];
} }

View file

@ -51,7 +51,7 @@ class Scope {
* @param int|string $depth * @param int|string $depth
* @param string|null $path * @param string|null $path
*/ */
public function __construct(string $href = '', $depth = 1, ?string $path = null) { public function __construct(string $href = '', $depth = 1, string $path = null) {
$this->href = $href; $this->href = $href;
$this->depth = $depth; $this->depth = $depth;
$this->path = $path; $this->path = $path;

View file

@ -38,7 +38,7 @@ class QueryDiscoverResponse extends Response {
* @param BasicSearchSchema|null $schema * @param BasicSearchSchema|null $schema
* @param null|int|string $httpStatus * @param null|int|string $httpStatus
*/ */
public function __construct($href, ?BasicSearchSchema $schema = null, $httpStatus = null) { public function __construct($href, BasicSearchSchema $schema = null, $httpStatus = null) {
if ($httpStatus !== null) { if ($httpStatus !== null) {
$httpStatus = (string)$httpStatus; $httpStatus = (string)$httpStatus;
} }