Skip to content

Commit 0c566c8

Browse files
HackwarLlewellynvdm
authored andcommitted
Fixing codestyle
1 parent 3704110 commit 0c566c8

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

.drone.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ local pipeline_sqlsrv(phpversion, driver, dbversion, params) = {
226226
],
227227
},
228228
{
229-
name: 'phpmd',
229+
name: 'phan',
230230
image: 'joomlaprojects/docker-images:php8.1-ast',
231231
depends: [ 'composer' ],
232232
failure: 'ignore',

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ steps:
2222
- composer
2323
failure: ignore
2424
image: joomlaprojects/docker-images:php8.1-ast
25-
name: phpmd
25+
name: phan
2626
- commands:
2727
- vendor/bin/phpstan analyse src
2828
depends:
@@ -694,6 +694,6 @@ volumes:
694694
name: composer-cache
695695
---
696696
kind: signature
697-
hmac: 4dc620976a1e01991fe3fd21e34d9cfc8f8b2d98bdc6c75cfb145b4b44c64c1b
697+
hmac: dd634ca2264ed41c6016c3b864ab076585a5bf525fcf6b69d039d42a44888e00
698698

699699
...

src/Query/LimitableInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111

1212
use Joomla\Database\QueryInterface;
1313

14+
// phpcs:disable PSR1.Files.SideEffects
1415
trigger_deprecation(
1516
'joomla/database',
1617
'2.0.0',
1718
'%s() is deprecated and will be removed in 3.0, all query objects should implement %s instead.',
1819
LimitableInterface::class,
1920
QueryInterface::class
2021
);
22+
// phpcs:enable PSR1.Files.SideEffects
2123

2224
/**
2325
* Joomla Database Query LimitableInterface.

src/Query/PreparableInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
use Joomla\Database\ParameterType;
1313
use Joomla\Database\QueryInterface;
1414

15+
// phpcs:disable PSR1.Files.SideEffects
1516
trigger_deprecation(
1617
'joomla/database',
1718
'2.0.0',
1819
'%s() is deprecated and will be removed in 3.0, all query objects should implement %s instead.',
1920
PreparableInterface::class,
2021
QueryInterface::class
2122
);
23+
// phpcs:enable PSR1.Files.SideEffects
2224

2325
/**
2426
* Joomla Database Query Preparable Interface.

0 commit comments

Comments
 (0)