Compare commits
No commits in common. "master" and "v6.15.11" have entirely different histories.
8 changed files with 9 additions and 77 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -17,30 +17,24 @@ jobs:
|
|||
php-version: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
|
||||
steps:
|
||||
- name: Check out code into the workspace
|
||||
uses: actions/checkout@v4
|
||||
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup PHP ${{ matrix.php-version }}
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
coverage: pcov
|
||||
|
||||
- name: Composer cache
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ env.HOME }}/.composer/cache
|
||||
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer install -o
|
||||
|
||||
- name: Configure matchers
|
||||
uses: mheap/phpunit-matcher-action@v1
|
||||
|
||||
- name: Run tests
|
||||
run: composer run-script phpunit-ci
|
||||
|
||||
- name: Coverage
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
verbose: true
|
||||
|
|
6
.github/workflows/code_quality.yml
vendored
6
.github/workflows/code_quality.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code into the workspace
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v2
|
||||
- name: Run PHPCS
|
||||
uses: chekalsky/phpcs-action@v1
|
||||
phpmd:
|
||||
|
@ -21,7 +21,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code into the workspace
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v2
|
||||
- name: Run PHPMD
|
||||
uses: GeneaLabs/action-reviewdog-phpmd@1.0.0
|
||||
with:
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code into the workspace
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v2
|
||||
- name: Run PHPStan
|
||||
uses: docker://oskarstark/phpstan-ga:1.8.0
|
||||
with:
|
||||
|
|
4
.github/workflows/documentation.yml
vendored
4
.github/workflows/documentation.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
|||
pages_threshold: major_outage
|
||||
- name: Check out code into the workspace
|
||||
if: success() && ${{ github.ref != 'refs/heads/master' }}
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup PHP 8.3
|
||||
if: ${{ github.ref != 'refs/heads/master' }}
|
||||
uses: shivammathur/setup-php@v2
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
php-version: "8.3"
|
||||
- name: Cache phpDocumentor
|
||||
id: cache-phpdocumentor
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: phpDocumentor.phar
|
||||
key: phpdocumentor
|
||||
|
|
|
@ -285,7 +285,6 @@ class ClientFactory implements ClientFactoryInterface, EventDispatcherAwareInter
|
|||
->setStreamFactory($this->streamFactory)
|
||||
->setRequestFactory($this->requestFactory)
|
||||
->setUriFactory($this->uriFactory)
|
||||
->setEventDispatcher($this->eventDispatcher)
|
||||
->appendRequestHandlers($this->requestHandlers)
|
||||
->appendResponseHandlers($this->responseHandlers)
|
||||
->build();
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.3
|
||||
*
|
||||
* @category EmbedJsConfiguration
|
||||
* @package RetailCrm\Api\Model\Entity\Integration\EmbedJs
|
||||
*/
|
||||
|
||||
namespace RetailCrm\Api\Model\Entity\Integration\EmbedJs;
|
||||
|
||||
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
||||
|
||||
/**
|
||||
* Class EmbedJsConfiguration
|
||||
*
|
||||
* @category EmbedJsConfiguration
|
||||
* @package RetailCrm\Api\Model\Entity\Integration\EmbedJs
|
||||
*/
|
||||
class EmbedJsConfiguration
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @JMS\Type("string")
|
||||
* @JMS\SerializedName("entrypoint")
|
||||
*/
|
||||
public $entrypoint;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @JMS\Type("string")
|
||||
* @JMS\SerializedName("stylesheet")
|
||||
*/
|
||||
public $stylesheet;
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*
|
||||
* @JMS\Type("array<string>")
|
||||
* @JMS\SerializedName("targets")
|
||||
*/
|
||||
public $targets;
|
||||
}
|
|
@ -74,12 +74,4 @@ class Integrations
|
|||
* @JMS\SerializedName("mgBot")
|
||||
*/
|
||||
public $mgBot;
|
||||
|
||||
/**
|
||||
* @var \RetailCrm\Api\Model\Entity\Integration\EmbedJs\EmbedJsConfiguration
|
||||
*
|
||||
* @JMS\Type("RetailCrm\Api\Model\Entity\Integration\EmbedJs\EmbedJsConfiguration")
|
||||
* @JMS\SerializedName("embedJs")
|
||||
*/
|
||||
public $embedJs;
|
||||
}
|
||||
|
|
|
@ -170,12 +170,4 @@ class ProductOffer
|
|||
* @JMS\SerializedName("barcode")
|
||||
*/
|
||||
public $barcode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @JMS\Type("string")
|
||||
* @JMS\SerializedName("site")
|
||||
*/
|
||||
public $site;
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ trait EventDispatcherAwareTrait
|
|||
*
|
||||
* @param \Psr\EventDispatcher\EventDispatcherInterface|null $eventDispatcher
|
||||
*
|
||||
* @return static
|
||||
* @return object
|
||||
*/
|
||||
public function setEventDispatcher(?EventDispatcherInterface $eventDispatcher): object
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue