Skip to content

Commit f74ed41

Browse files
author
Anton Shevchuk
committed
Updated codestyle to PSR12
1 parent eb1c86b commit f74ed41

239 files changed

Lines changed: 317 additions & 65 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
language: php
22
php:
3-
- 7.2
43
- 7.3
5-
- nightly
4+
- 7.4
5+
- 8.0
66
services:
77
- mysql
88
matrix:
99
allow_failures:
10-
- php: nightly
10+
- php: 8.0
1111
env:
1212
global:
1313
- secure: "QKyI/QO6H6pFE04Iz/4IcSuttMdY3o85mD2BTNV2Y2SeSPxLfuukqPrxjANrTc4GfI1v7/bZM43uMl3aRa76+HRZ83ZsXR8uv1VZUgNHYuoq7jdZb18BitM36h0LbHzTbYetJLiYg7l3mnbAezTXPXHfpNIWvZcuyZzatyF/lng="
@@ -29,7 +29,7 @@ before_script:
2929
- chmod a+w ./tests/_output
3030
script:
3131
# Check code style
32-
- php vendor/bin/phpcs ./src --standard=PSR1,PSR2 --encoding=utf-8
32+
- php vendor/bin/phpcs ./src --standard=PSR12 --encoding=utf-8
3333
# Complexity of code
3434
- php vendor/bin/phploc ./src
3535
# Run Codeception tests

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"description": "Lightweight PHP framework",
44
"type": "library",
55
"require": {
6-
"php": ">=7.2",
6+
"php": ">=7.3",
77
"ext-PDO": "*",
88
"ext-pdo_mysql": "*",
99
"ext-json": "*",
1010
"ext-ctype": "*",
1111
"bluzphp/collection": "~1.0",
1212
"cache/cache": "~1.0",
1313
"psr/log": "~1.0",
14-
"zendframework/zend-diactoros": "~2.1.1",
15-
"zendframework/zend-httphandlerrunner": "~1.0"
14+
"laminas/laminas-diactoros": "~2.5",
15+
"laminas/laminas-httphandlerrunner": "~1.3"
1616
},
1717
"require-dev": {
1818
"codeception/codeception": "~2.5.3",

src/Acl/Acl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Bluz Framework Component
45
*

src/Acl/AclException.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Bluz Framework Component
45
*

src/Application/Application.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Bluz Framework Component
45
*
@@ -35,7 +36,7 @@
3536
use InvalidArgumentException;
3637
use ReflectionClass;
3738
use ReflectionException;
38-
use Zend\Diactoros\ServerRequest;
39+
use Laminas\Diactoros\ServerRequest;
3940

4041
/**
4142
* Application

src/Application/Exception/ApplicationException.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Bluz Framework Component
45
*

src/Application/Helper/Error.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Bluz Framework Component
45
*

src/Application/Helper/Forbidden.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Bluz Framework Component
45
*

src/Application/Helper/Redirect.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Bluz Framework Component
45
*

src/Auth/AbstractIdentity.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Bluz Framework Component
45
*

0 commit comments

Comments
 (0)