Skip to content

Commit

Permalink
Merge pull request #9 from gentics/release-0.8
Browse files Browse the repository at this point in the history
Release 0.8
  • Loading branch information
netwarex authored Jul 3, 2022
2 parents 0fd77c2 + d59246e commit 30fde13
Show file tree
Hide file tree
Showing 8 changed files with 3,488 additions and 1,520 deletions.
8 changes: 3 additions & 5 deletions .php_cs → .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<?php

$finder = PhpCsFixer\Finder::create()
->in("src")
;
->in("src");

return PhpCsFixer\Config::create()
return (new PhpCsFixer\Config())
->setRules([
'@PSR1' => true,
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setUsingCache(false)
->setFinder($finder)
;
->setFinder($finder);
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ $client = new MeshClient("http://localhost:8080/api/v1", $config);

## Compatibility

* Gentics Mesh 0.24.x
* PHP 7.0+
* Gentics Mesh 1.8.x
* PHP 8.1+

# TODOs

Expand Down
2 changes: 2 additions & 0 deletions bin/git-hooks/pre-commit.d/composer-pre-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
composer pre-commit
31 changes: 13 additions & 18 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,27 @@
}
},
"require": {
"php": ">=7.0",
"php": "^8.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.0",
"jenssegers/proxy": "dev-master"
"guzzlehttp/guzzle": "^7.4.5",
"ioflair/php-proxy": "^4.0.1"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "dev-master",
"friendsofphp/php-cs-fixer": "^2.13@dev",
"overtrue/phplint": "dev-master",
"phpunit/phpunit": "^6",
"sensiolabs/security-checker": "^5.0@dev",
"squizlabs/php_codesniffer": "^3.0@dev"
},
"extra" : {
"hooks": {
"pre-commit": "composer pre-commit"
}
"isaac/composer-git-hooks": "^2.0.0",
"friendsofphp/php-cs-fixer": "^3.8.0",
"overtrue/phplint": "^5.2.2",
"phpunit/phpunit": "^9.5.21",
"enlightn/security-checker": "^1.10.0",
"squizlabs/php_codesniffer": "^3.7.1"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"isaac/composer-git-hooks": true
}
},
"minimum-stability": "dev",
"scripts": {
"post-install-cmd": "./vendor/bin/cghooks add --ignore-lock",
"post-update-cmd": "./vendor/bin/cghooks update",
"pre-commit": [
"@test"
],
Expand All @@ -61,7 +57,6 @@
"test": [
"@composer validate",
"@lint",
"@phpunit",
"@securitycheck"
],
"fixcode": [
Expand Down
Loading

0 comments on commit 30fde13

Please sign in to comment.