Update dependency laminas/laminas-coding-standard to v3 #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.0.0
->^3.0.0
Release Notes
laminas/laminas-coding-standard (laminas/laminas-coding-standard)
v3.0.1
Compare Source
Release Notes for 3.0.1
3.0.x bugfix release (patch)
3.0.1
Documentation,Enhancement
v3.0.0
Compare Source
Release Notes for 3.0.0
Backwards incompatible release (major)
3.0.0
renovate
Enhancement
slevomat/coding-standard
^8 thanks to @alexraputaBC Break,renovate
v2.5.0
Compare Source
Release Notes for 2.5.0
Feature release (minor)
2.5.0
Enhancement
v2.4.0
Compare Source
Release Notes for 2.4.0
Feature release (minor)
2.4.0
Bug
phpstan/phpdoc-parser
for now thanks to @OcramiusEnhancement
renovate
Documentation
v2.3.0
Compare Source
Release Notes for 2.3.0
Feature release (minor)
2.3.0
Enhancement
v2.2.1
Compare Source
Release Notes for 2.2.1
2.2.x bugfix release (patch)
2.2.1
Bug
Enhancement
v2.2.0
Compare Source
Release Notes for 2.2.0
Feature release (minor)
2.2.0
Documentation
Bug
Enhancement
v2.1.4
Compare Source
2.1.4 - 2020-10-26
Release Notes for 2.1.4
2.1.x bugfix release (patch)
2.1.4
Bug
v2.1.3
Compare Source
2.1.3 - 2020-10-25
Release Notes for 2.1.3
2.1.x bugfix release (patch)
2.1.3
Bug
v2.1.2
Compare Source
2.1.2 - 2020-10-25
Release Notes for 2.1.2
2.1.x bugfix release (patch)
2.1.2
Bug
v2.1.1
Compare Source
2.1.1 - 2020-10-24
Release Notes for 2.1.1
2.1.x bugfix release (patch)
2.1.1
Documentation
Bug
Enhancement
v2.1.0
Compare Source
Release Notes for 2.1.0
2.1.0
Enhancement
Bug
36: Remove contradicting rule for file header comment thanks to @geerteltink and @arueckauer
18: SlevomatCodingStandard.Operators.DisallowEqualOperators: prevent risky fix thanks to @autowp
17: Broken equality comparisons thanks to @autowp
v2.0.1
: laminas-coding-standard 2.0.1Compare Source
Added
dealerdirect/phpcodesniffer-composer-installer
0.7 and thus composer 2.0Changed
Deprecated
Removed
Fixed
v2.0.0
: laminas-coding-standard 2.0.0Compare Source
Added
Changed
zendframework/zend-coding-standard#22 refactors
documentation. It now follows the PHP-FIG PSR-12 style.
zendframework/zend-coding-standard#22 refactors
the ruleset. It uses PSR-12 as the base ruleset with these additional rules:
goto
language construct SHOULD NOT be used.global
keyword MUST NOT be used.PHP_SAPI
SHOULD be used instead of thephp_sapi_name()
function.
be avoided.
SHOULD be avoided. All code MUST be executable and non executable code SHOULD
be removed.
declare(strict_types=1)
directive MUST be declared and be the firststatement in a file.
related blocks of code except where explicitly forbidden.
avoided.
concatenating strings, there MUST be a single whitespace before and after the
concatenation operator. The concatenation operator MUST NOT be the at the end
of a line. If multi-line concatenation is used there MUST be an indent of 4
spaces.
bracket when referencing an array.
key.
[...]
SHOULD be used instead oflist(...)
.a space around a namespace separator.
be useful, meaning that aliases SHOULD only be used if a class with the same
name is imported.
Abstract
prefix.Exception
suffix.Interface
suffix.Trait
suffix.self::
MUST be used without spacesaround the scope resolution operator.
::class
MUST be used instead of__CLASS__
,get_class()
,get_class($this)
,get_called_class()
,get_parent_class()
and string reference.
$this
MUST NOT be called inside a static method orfunction.
returned on the next line.
final
keyword on methods MUST be omitted in final declared classes.break
andcontinue
structures witha numeric argument argument.
continue
control structure MUST NOT be used in switch statements,break
SHOULD be used instead.to assign a value to a variable. In case of a block of related
assignments, more spaces MUST be inserted before the equal sign to
promote readability.
multilines are used.
operators instead. e.g. use
===
instead of==
.&&
and||
operators SHOULD be used instead ofand
andor
.use
MUST be used in closures.SHOULD only be used if necessary. They MUST NOT start with
#
and MUSTNOT be empty. They SHOULD NOT be used for already typehinted arguments,
except arrays.
space between the asterisk and tag.
@param
,@return
and@throws
SHOULD not be aligned orcontain multiple spaces between the tag, type and description.
@throws
tags.newline between specific groups.
@api
,@author
,@category
,@created
,@package
,@subpackage
and@version
MUST NOT be used in comments. Git commitsprovide accurate information.
Created by, getter and setter, MUST NOT be used in comments.
@var
tag MAY be used in inline comments to document the Typeof properties. Single-line property comments with a
@var
tag SHOULDbe written as one-liners. The
@var
MAY NOT be used for constants.single space preceding. Inline DocComments MUST NOT be placed after curly
brackets.
Deprecated
Removed
Fixed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.