Skip to content

Commit

Permalink
PG-23 (#4)
Browse files Browse the repository at this point in the history
v73.0.0
  • Loading branch information
gammamatrix authored Nov 29, 2023
1 parent 0c2439c commit 353542d
Show file tree
Hide file tree
Showing 21 changed files with 17 additions and 487 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Playground Matrix tests
name: 'Tests: Playground Matrix Resource'

on:
push:
Expand Down Expand Up @@ -26,16 +26,18 @@ jobs:
with:
php_extensions: xdebug
coverage_clover: clover.xml
coverage_text: true
- name: Make code coverage badge
uses: timkrase/[email protected]
with:
report: clover.xml
coverage_badge_path: output/coverage.svg
push_badge: false
- name: Git push to image-data branch
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./output
publish_branch: image-data
publish_branch: testing/develop
github_token: ${{ secrets.GITHUB_TOKEN }}
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Playground Matrix Resource

[![Test Coverage](https://raw.githubusercontent.com/gammamatrix/playground-matrix-resource/image-data/coverage.svg)](tests/logs/coverage.txt)
[![Playground CI Workflow](https://github.com/gammamatrix/playground-matrix-resource/actions/workflows/ci.yml/badge.svg?)](tests/logs/testdox.txt)
[![Playground CI Workflow](https://github.com/gammamatrix/playground-matrix-resource/actions/workflows/ci.yml/badge.svg?branch=develop)](https://raw.githubusercontent.com/gammamatrix/playground-matrix-resource/testing/develop/testdox.txt)
[![Test Coverage](https://raw.githubusercontent.com/gammamatrix/playground-matrix-resource/testing/develop/coverage.svg)](tests)

The `playground-matrix-resource` Laravel package.

Expand Down
22 changes: 11 additions & 11 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true">
<report>
<clover outputFile="tests/logs/clover.xml"/>
<cobertura outputFile="tests/logs/cobertura.xml"/>
<crap4j outputFile="tests/logs/crap4j.xml" threshold="50"/>
<html outputDirectory="tests/logs/html" lowUpperBound="50" highLowerBound="90"/>
<php outputFile="tests/logs/coverage.php"/>
<text outputFile="tests/logs/coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
<xml outputDirectory="tests/logs/xml"/>
<clover outputFile="output/clover.xml"/>
<cobertura outputFile="output/cobertura.xml"/>
<crap4j outputFile="output/crap4j.xml" threshold="50"/>
<!-- <html outputDirectory="output/html" lowUpperBound="50" highLowerBound="90"/> -->
<php outputFile="output/coverage.php"/>
<text outputFile="output/coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
<!-- <xml outputDirectory="output/xml"/> -->
</report>
</coverage>
<logging>
<junit outputFile="tests/logs/junit.xml"/>
<teamcity outputFile="tests/logs/teamcity.txt"/>
<testdoxHtml outputFile="tests/logs/testdox.html"/>
<testdoxText outputFile="tests/logs/testdox.txt"/>
<junit outputFile="output/junit.xml"/>
<teamcity outputFile="output/teamcity.txt"/>
<testdoxHtml outputFile="output/testdox.html"/>
<testdoxText outputFile="output/testdox.txt"/>
</logging>
<source>
<include>
Expand Down
12 changes: 0 additions & 12 deletions src/Http/Requests/Backlog/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Board/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Epic/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Flow/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Milestone/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Note/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Project/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Release/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Roadmap/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Source/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Sprint/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Tag/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Team/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Ticket/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
12 changes: 0 additions & 12 deletions src/Http/Requests/Version/DestroyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,4 @@ public function rules(): array

return $rules;
}

/**
* Prepare the data for validation.
*
* @return void
*/
protected function prepareForValidation()
{
if (method_exists($this, 'prepareForValidationForSlug')) {
$this->prepareForValidationForSlug();
}
}
}
3 changes: 0 additions & 3 deletions tests/logs/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions tests/logs/coverage.txt

This file was deleted.

Loading

0 comments on commit 353542d

Please sign in to comment.