211 lines
20 KiB
HTML
211 lines
20 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>Code Coverage for /home/users/tracer/www/spookie.lab.24unix.net/Spookie/src/Controller/Admin/ProjectsCrudController.php</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<link href="../../_css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
||
|
<link href="../../_css/octicons.css" rel="stylesheet" type="text/css">
|
||
|
<link href="../../_css/style.css" rel="stylesheet" type="text/css">
|
||
|
<link href="../../_css/custom.css" rel="stylesheet" type="text/css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
<div class="container-fluid">
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
<nav aria-label="breadcrumb">
|
||
|
<ol class="breadcrumb">
|
||
|
<li class="breadcrumb-item"><a href="../../index.html">/home/users/tracer/www/spookie.lab.24unix.net/Spookie/src</a></li>
|
||
|
<li class="breadcrumb-item"><a href="../index.html">Controller</a></li>
|
||
|
<li class="breadcrumb-item"><a href="index.html">Admin</a></li>
|
||
|
<li class="breadcrumb-item active">ProjectsCrudController.php</li>
|
||
|
|
||
|
</ol>
|
||
|
</nav>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</header>
|
||
|
<div class="container-fluid">
|
||
|
<div class="table-responsive">
|
||
|
<table class="table table-bordered">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<td> </td>
|
||
|
<td colspan="10"><div align="center"><strong>Code Coverage</strong></div></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td> </td>
|
||
|
<td colspan="3"><div align="center"><strong>Lines</strong></div></td>
|
||
|
<td colspan="4"><div align="center"><strong>Functions and Methods</strong></div></td>
|
||
|
<td colspan="3"><div align="center"><strong>Classes and Traits</strong></div></td>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td class="danger">Total</td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 12</div></td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 2</div></td>
|
||
|
<td class="danger small"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 1</div></td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td class="danger"><abbr title="App\Controller\Admin\ProjectsCrudController">ProjectsCrudController</abbr></td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 12</div></td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 2</div></td>
|
||
|
<td class="danger small">6</td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 1</div></td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td class="danger"> <a href="#15"><abbr title="getEntityFqcn(): string">getEntityFqcn</abbr></a></td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 1</div></td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 1</div></td>
|
||
|
<td class="danger small">2</td>
|
||
|
<td class="danger" colspan="3"></td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td class="danger"> <a href="#20"><abbr title="configureFields(string $pageName): iterable">configureFields</abbr></a></td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 11</div></td>
|
||
|
<td class="danger big"> <div class="progress">
|
||
|
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
|
||
|
<span class="sr-only">0.00% covered (danger)</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="danger small"><div align="right">0.00%</div></td>
|
||
|
<td class="danger small"><div align="right">0 / 1</div></td>
|
||
|
<td class="danger small">2</td>
|
||
|
<td class="danger" colspan="3"></td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<table id="code" class="table table-borderless table-condensed">
|
||
|
<tbody>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="1" href="#1">1</a></td><td class="col-11 codeLine"><span class="default"><?php</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="2" href="#2">2</a></td><td class="col-11 codeLine"></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="3" href="#3">3</a></td><td class="col-11 codeLine"><span class="keyword">namespace</span><span class="default"> </span><span class="default">App\Controller\Admin</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="4" href="#4">4</a></td><td class="col-11 codeLine"></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="5" href="#5">5</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">App\Entity\Projects</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="6" href="#6">6</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="7" href="#7">7</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">EasyCorp\Bundle\EasyAdminBundle\Field\AssociationField</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="8" href="#8">8</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">EasyCorp\Bundle\EasyAdminBundle\Field\Field</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="9" href="#9">9</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">EasyCorp\Bundle\EasyAdminBundle\Field\IdField</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="10" href="#10">10</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">EasyCorp\Bundle\EasyAdminBundle\Field\ImageField</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="11" href="#11">11</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default"> </span><span class="default">EasyCorp\Bundle\EasyAdminBundle\Field\TextField</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="12" href="#12">12</a></td><td class="col-11 codeLine"></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="13" href="#13">13</a></td><td class="col-11 codeLine"><span class="keyword">class</span><span class="default"> </span><span class="default">ProjectsCrudController</span><span class="default"> </span><span class="keyword">extends</span><span class="default"> </span><span class="default">AbstractCrudController</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="14" href="#14">14</a></td><td class="col-11 codeLine"><span class="keyword">{</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="15" href="#15">15</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">public</span><span class="default"> </span><span class="keyword">static</span><span class="default"> </span><span class="keyword">function</span><span class="default"> </span><span class="default">getEntityFqcn</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">:</span><span class="default"> </span><span class="default">string</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="16" href="#16">16</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">{</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="17" href="#17">17</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">return</span><span class="default"> </span><span class="default">Projects</span><span class="default">::</span><span class="keyword">class</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="18" href="#18">18</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">}</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="19" href="#19">19</a></td><td class="col-11 codeLine"></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="20" href="#20">20</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">public</span><span class="default"> </span><span class="keyword">function</span><span class="default"> </span><span class="default">configureFields</span><span class="keyword">(</span><span class="default">string</span><span class="default"> </span><span class="default">$pageName</span><span class="keyword">)</span><span class="keyword">:</span><span class="default"> </span><span class="default">iterable</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="21" href="#21">21</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">{</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="22" href="#22">22</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">yield</span><span class="default"> </span><span class="default">IdField</span><span class="default">::</span><span class="keyword">new</span><span class="keyword">(</span><span class="default">propertyName</span><span class="keyword">:</span><span class="default"> </span><span class="default">'id'</span><span class="keyword">)</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="23" href="#23">23</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="default">-></span><span class="default">onlyOnIndex</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="24" href="#24">24</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">yield</span><span class="default"> </span><span class="default">TextField</span><span class="default">::</span><span class="keyword">new</span><span class="keyword">(</span><span class="default">propertyName</span><span class="keyword">:</span><span class="default"> </span><span class="default">'name'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="25" href="#25">25</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">yield</span><span class="default"> </span><span class="default">AssociationField</span><span class="default">::</span><span class="keyword">new</span><span class="keyword">(</span><span class="default">'developer'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="26" href="#26">26</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">yield</span><span class="default"> </span><span class="default">TextField</span><span class="default">::</span><span class="keyword">new</span><span class="keyword">(</span><span class="default">propertyName</span><span class="keyword">:</span><span class="default"> </span><span class="default">'description'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="27" href="#27">27</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">yield</span><span class="default"> </span><span class="default">ImageField</span><span class="default">::</span><span class="keyword">new</span><span class="keyword">(</span><span class="default">propertyName</span><span class="keyword">:</span><span class="default"> </span><span class="default">'teaserImage'</span><span class="keyword">)</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="28" href="#28">28</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="default">-></span><span class="default">setBasePath</span><span class="keyword">(</span><span class="default">path</span><span class="keyword">:</span><span class="default"> </span><span class="default">'uploads/projects'</span><span class="keyword">)</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="29" href="#29">29</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="default">-></span><span class="default">setUploadDir</span><span class="keyword">(</span><span class="default">uploadDirPath</span><span class="keyword">:</span><span class="default"> </span><span class="default">'public/uploads/projects'</span><span class="keyword">)</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="30" href="#30">30</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="default">-></span><span class="default">setUploadedFileNamePattern</span><span class="keyword">(</span><span class="default">patternOrCallable</span><span class="keyword">:</span><span class="default"> </span><span class="default">'[timestamp]-[slug].[extension]'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="31" href="#31">31</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">yield</span><span class="default"> </span><span class="default">Field</span><span class="default">::</span><span class="keyword">new</span><span class="keyword">(</span><span class="default">'createdAt'</span><span class="keyword">)</span></td></tr>
|
||
|
<tr class="danger d-flex"><td class="col-1 text-right"><a id="32" href="#32">32</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="default">-></span><span class="default">hideOnForm</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="33" href="#33">33</a></td><td class="col-11 codeLine"><span class="default"> </span><span class="keyword">}</span></td></tr>
|
||
|
<tr class=" d-flex"><td class="col-1 text-right"><a id="34" href="#34">34</a></td><td class="col-11 codeLine"><span class="keyword">}</span></td></tr>
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
|
||
|
<footer>
|
||
|
<hr/>
|
||
|
<h4>Legend</h4>
|
||
|
<p><span class="success"><strong>Executed</strong></span><span class="danger"><strong>Not Executed</strong></span><span class="warning"><strong>Dead Code</strong></span></p>
|
||
|
<p>
|
||
|
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.22</a> using <a href="https://secure.php.net/" target="_top">PHP 8.1.12</a> and <a href="https://phpunit.de/">PHPUnit 9.5.27</a> at Tue Dec 27 18:06:38 CET 2022.</small>
|
||
|
</p>
|
||
|
<a title="Back to the top" id="toplink" href="#">
|
||
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
|
||
|
</a>
|
||
|
</footer>
|
||
|
</div>
|
||
|
<script src="../../_js/jquery.min.js" type="text/javascript"></script>
|
||
|
<script src="../../_js/popper.min.js" type="text/javascript"></script>
|
||
|
<script src="../../_js/bootstrap.min.js" type="text/javascript"></script>
|
||
|
<script src="../../_js/file.js" type="text/javascript"></script>
|
||
|
</body>
|
||
|
</html>
|