Compare commits
No commits in common. "master" and "4.0.0" have entirely different histories.
5 changed files with 43 additions and 52 deletions
|
@ -3,6 +3,5 @@ pipeline:
|
|||
image: composer
|
||||
commands:
|
||||
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
|
||||
- composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
|
||||
- composer global require digicomp/php-codesniffer:@dev
|
||||
- composer global exec -- phpcs --runtime-set ignore_warnings_on_exit 1 --standard=DigiComp Classes/ Tests/
|
||||
- composer global exec -- phpcs --runtime-set ignore_warnings_on_exit 1 --standard=DigiComp Classes/ Migrations/ Tests/
|
||||
|
|
|
@ -3,19 +3,12 @@ workspace:
|
|||
path: package
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- FLOW_VERSION: 6.3
|
||||
PHP_VERSION: 7.4
|
||||
- FLOW_VERSION: 7.3
|
||||
PHP_VERSION: 7.4
|
||||
- FLOW_VERSION: 7.3
|
||||
PHP_VERSION: 8.2
|
||||
- FLOW_VERSION: 8.2
|
||||
PHP_VERSION: 8.2
|
||||
FLOW_VERSION:
|
||||
- 6.3
|
||||
|
||||
pipeline:
|
||||
functional-tests:
|
||||
image: "thecodingmachine/php:${PHP_VERSION}-v4-cli"
|
||||
image: thecodingmachine/php:7.4-v4-cli
|
||||
environment:
|
||||
# Enable the PDO_SQLITE extension
|
||||
- "PHP_EXTENSION_PDO_SQLITE=1"
|
||||
|
@ -27,6 +20,6 @@ pipeline:
|
|||
- "cd $NEOS_BUILD_DIR"
|
||||
- "composer create-project --no-install neos/flow-base-distribution:^$FLOW_VERSION ."
|
||||
- "composer config repositories.repo-name path /woodpecker/package"
|
||||
- "composer remove --dev --no-update neos/behat || composer remove --no-update neos/behat"
|
||||
- "composer remove --dev neos/behat"
|
||||
- "composer require digicomp/sequence:@dev"
|
||||
- "bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.Sequence/Tests/Functional"
|
8
CHANGELOG.md
Normal file
8
CHANGELOG.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
Start of the changelog.
|
|
@ -1,7 +1,5 @@
|
|||
# DigiComp.Sequence
|
||||
|
||||

|
||||
|
||||
This is a very simple tool, helping in generation of gapless sequences. For this task it relies on key integrity of the
|
||||
database of your choice.
|
||||
|
||||
|
@ -9,11 +7,11 @@ Usage is quite simple also:
|
|||
|
||||
```php
|
||||
/**
|
||||
* @param SequenceGenerator $sequenceGenerator
|
||||
* @param SequenceNumberGenerator $sequenceNumberGenerator
|
||||
*/
|
||||
public function __construct(SequenceGenerator $sequenceNumberGenerator)
|
||||
public function __construct(SequenceNumberGenerator $sequenceNumberGenerator)
|
||||
{
|
||||
$this->orderId = $sequenceGenerator->getNextNumberFor($this);
|
||||
$this->orderId = $sequenceNumberGenerator->getNextNumberFor($this);
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -2,33 +2,14 @@
|
|||
"name": "digicomp/sequence",
|
||||
"description": "Sequence is a very simple database agnostic but database based sequence generator",
|
||||
"type": "neos-package",
|
||||
"keywords": [
|
||||
"Neos",
|
||||
"Flow",
|
||||
"doctrine",
|
||||
"sequence"
|
||||
],
|
||||
"homepage": "https://github.com/digital-competence/DigiComp.Sequence",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Ferdinand Kuhl",
|
||||
"email": "f.kuhl@digital-competence.de",
|
||||
"homepage": "https://www.digital-competence.de",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.4.0",
|
||||
"ext-pdo": "*",
|
||||
"neos/flow": "^6.3.5 || ^7.0 || ^8.0"
|
||||
"neos/flow": "^6.3.5",
|
||||
"php": ">=7.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-pcntl": "*",
|
||||
"mikey179/vfsstream": "^1.6.1",
|
||||
"neos/buildessentials": "^7.0.0",
|
||||
"phpunit/phpunit": "~8.5",
|
||||
"vimeo/psalm": "~4.22.0"
|
||||
"phpunit/phpunit": "~8.5"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
@ -40,19 +21,15 @@
|
|||
"DigiComp\\Sequence\\Tests\\": "Tests/"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"sort-packages": true,
|
||||
"platform-check": true
|
||||
},
|
||||
"extra": {
|
||||
"neos": {
|
||||
"package-key": "DigiComp.Sequence"
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-develop": "4.0.x-dev",
|
||||
"dev-version/2.x-dev": "2.1.x-dev",
|
||||
"dev-version/1.x-dev": "1.1.x-dev"
|
||||
},
|
||||
"neos": {
|
||||
"package-key": "DigiComp.Sequence"
|
||||
},
|
||||
"applied-flow-migrations": [
|
||||
"Inwebs.Basket-201409170938",
|
||||
"TYPO3.FLOW3-201201261636",
|
||||
|
@ -89,5 +66,21 @@
|
|||
"Neos.Flow-20190425144900",
|
||||
"Neos.Flow-20190515215000"
|
||||
]
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Ferdinand Kuhl",
|
||||
"email": "f.kuhl@digital-competence.de",
|
||||
"homepage": "https://www.digital-competence.de",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/digital-competence/DigiComp.Sequence",
|
||||
"keywords": [
|
||||
"Neos",
|
||||
"Flow",
|
||||
"doctrine",
|
||||
"sequence"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue