Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"require-dev": {
"brianium/paratest": "v7.8.3",
"friendsofphp/php-cs-fixer": "3.69.1",
"friendsofphp/php-cs-fixer": "3.75.0",
"hautelook/alice-bundle": "2.15.1",
"justinrainbow/json-schema": "6.4.1",
"php-coveralls/php-coveralls": "2.7.0",
Expand Down
27 changes: 14 additions & 13 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/src/Util/CamelPascalNamingStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public function joinColumnName($propertyName, $className = null): string {
* @param null|string $referencedColumnName a property
*/
public function joinKeyColumnName($entityName, $referencedColumnName = null): string {
return $this->classToCamelCase($entityName).
ucfirst($referencedColumnName ?: $this->referenceColumnName());
return $this->classToCamelCase($entityName)
.ucfirst($referencedColumnName ?: $this->referenceColumnName());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

class AssertAllowTransitionsValidator extends ConstraintValidator {
public const TO_VIOLATION_MESSAGE = 'value must be one of {{ to }}, was {{ value }}';
public const FROM_VIOLATION_MESSAGE = 'This value was previously in an unexpected state,'.
' expected one of {{ from }}, but was {{ previousValue }}';
public const FROM_VIOLATION_MESSAGE = 'This value was previously in an unexpected state,'
.' expected one of {{ from }}, but was {{ previousValue }}';

public function __construct(public RequestStack $requestStack) {}

Expand Down