Skip to content

Commit

Permalink
Strict types declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed May 18, 2024
1 parent a12f8e2 commit 04024ec
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

define('PAYPAL_PREFIX', 'paypal_');
2 changes: 2 additions & 0 deletions _define.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

$this->register(
'Galette Paypal', //Name
'Paypal integration', //Short description
Expand Down
2 changes: 2 additions & 0 deletions _routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

use GalettePaypal\Controllers\PaypalController;

//Constants and classes from plugin
Expand Down
2 changes: 2 additions & 0 deletions lib/GalettePaypal/Controllers/PaypalController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

namespace GalettePaypal\Controllers;

use Analog\Analog;
Expand Down
2 changes: 2 additions & 0 deletions lib/GalettePaypal/Paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

namespace GalettePaypal;

use Analog\Analog;
Expand Down
2 changes: 2 additions & 0 deletions lib/GalettePaypal/PaypalHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

namespace GalettePaypal;

use Analog\Analog;
Expand Down
2 changes: 2 additions & 0 deletions lib/GalettePaypal/PluginGalettePaypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

namespace GalettePaypal;

use Galette\Core\Login;
Expand Down

0 comments on commit 04024ec

Please sign in to comment.