Function parseData
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
private function parseData(): void
{
if (empty($this->data)) {
return;
}
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Missing class import via use statement (line '151', column '25'). Open
$responseData = (new \GuzzleHttp\Client(\App\RequestHttp::getOptions()))
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Avoid using static access to class '\App\Log' in method 'getDataFromApi'. Open
\App\Log::warning($e->getMessage(), 'RecordCollectors');
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
Avoid using static access to class '\App\Json' in method 'getDataFromApi'. Open
}
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
Avoid using static access to class '\App\Utils' in method 'parseData'. Open
$this->data = \App\Utils::flattenKeys($this->data, 'ucfirst');
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
Avoid using static access to class '\App\RequestHttp' in method 'getDataFromApi'. Open
$responseData = (new \GuzzleHttp\Client(\App\RequestHttp::getOptions()))
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
protected string $addOnName = 'YetiForceRcPlKrs';
- Exclude checks
Avoid excessively long variable names like $formFieldsToRecordMap. Keep variable name length under 20. Open
public $formFieldsToRecordMap = [
'Accounts' => [
'daneDzial1DanePodmiotuNazwa' => 'accountname',
'daneDzial1DanePodmiotuIdentyfikatoryRegon' => 'registration_number_2',
'naglowekANumerKRS' => 'registration_number_1',
- Read upRead up
- Exclude checks
LongVariable
Since: 0.2
Detects when a field, formal or local variable is declared with a long name.
Example
class Something {
protected $reallyLongIntName = -3; // VIOLATION - Field
public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
$otherReallyLongName = -5; // VIOLATION - Local
for ($interestingIntIndex = 0; // VIOLATION - For
$interestingIntIndex < 10;
$interestingIntIndex++ ) {
}
}
}
Source https://phpmd.org/rules/naming.html#longvariable
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuNazwa' => 'accountname',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresKodPocztowy' => 'addresslevel7a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'Accounts' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public $docUrl = 'https://prs.ms.gov.pl/krs/openApi';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public $formFieldsToRecordMap = [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaWojewodztwo' => 'addresslevel2a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresStronyInternetowej' => 'website',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresKodPocztowy' => 'addresslevel7a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
]
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'dane_dzial1_siedzibaIAdres_siedziba_miejscowosc' => 'addresslevel5a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaPowiat' => 'addresslevel3a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresKraj' => 'addresslevel1a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'ncr' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public $icon = 'yfi-krs-pl';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial3PrzedmiotDzialalnosciPrzedmiotPrzewazajacejDzialalnosci0' => 'siccode',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial3PrzedmiotDzialalnosciPrzedmiotPozostalejDzialalnosci0' => 'siccode',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresNrDomu' => 'buildingnumbera',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresKodPocztowy' => 'addresslevel7a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaKraj' => 'addresslevel1a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaKraj' => 'addresslevel1a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'naglowekANumerKRS' => 'registration_number_1',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresUlica' => 'addresslevel8a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'dane_dzial1_siedzibaIAdres_siedziba_miejscowosc' => 'addresslevel5a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresUlica' => 'addresslevel8a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresKraj' => 'addresslevel1a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuIdentyfikatoryRegon' => 'registration_number_2',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'Vendors' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
]
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'label' => 'Registration number 1',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public $displayType = 'FillFields';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'naglowekANumerKRS' => 'registration_number_1',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'dane_dzial1_siedzibaIAdres_adres_miejscowosc' => 'addresslevel5a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** @var string KRS sever address */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'Accounts' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresUlica' => 'addresslevel8a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuIdentyfikatoryRegon' => 'registration_number_2',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
]
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'Leads' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->parseData();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->loadData();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'dane_dzial1_siedzibaIAdres_adres_miejscowosc' => 'addresslevel5a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'typeofdata' => 'V~M',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'ncr' => 'registration_number_1',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
if (empty($this->data)) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
private function convertPkd(array &$pkd): void
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'Annual revenue' => 'annual_revenue',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'Annual revenue' => 'annualrevenue',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaWojewodztwo' => 'addresslevel2a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* @param mixed $ncr
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
try {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* Function parsing data to fields from Polish National Court Register API.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
return;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->convertPkd($value);
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
$this->data['dane']['dzial3']['przedmiotDzialalnosci']['przedmiotPozostalejDzialalnosciAll'] = rtrim($all, ', ');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public $allowedModules = ['Accounts', 'Leads', 'Vendors'];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaPowiat' => 'addresslevel3a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuIdentyfikatoryNip' => 'vat_id',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaGmina' => 'addresslevel4a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'Vendors' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'ncr' => 'registration_number_1',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* @return void
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->data['dane']['dzial3']['przedmiotDzialalnosci']['przedmiotPozostalejDzialalnosciAll'] = rtrim($all, ', ');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresStronyInternetowej' => 'website',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresKraj' => 'addresslevel1a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuIdentyfikatoryRegon' => 'registration_number_2',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
protected string $addOnName = 'YetiForceRcPlKrs';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
protected $url = 'https://api-krs.ms.gov.pl/api/krs/OdpisAktualny/';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->response['error'] = $e->getMessage();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuIdentyfikatoryNip' => 'vat_id',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaWojewodztwo' => 'addresslevel2a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaKraj' => 'addresslevel1a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
protected $modulesFieldsMap = [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
if (!$this->isActive()) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
if (isset($this->data['dane']['dzial3']['przedmiotDzialalnosci']['przedmiotPozostalejDzialalnosci'])) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->moduleName = $this->request->getModule();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->getDataFromApi($ncr);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$responseData = (new \GuzzleHttp\Client(\App\RequestHttp::getOptions()))
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
foreach ($this->data['dane']['dzial3']['przedmiotDzialalnosci']['przedmiotPozostalejDzialalnosci'] as &$value) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
if (isset($this->data['dane']['dzial1']['kapital'])) {
- Exclude checks
Line exceeds 120 characters; contains 135 characters Open
$this->data['Annual revenue'] = (float) $this->data['dane']['dzial1']['kapital']['wysokoscKapitaluZakladowego']['wartosc'];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public $description = 'LBL_PL_KRS_DESC';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'dane_dzial1_siedzibaIAdres_adres_miejscowosc' => 'addresslevel5a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuNazwa' => 'company',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuIdentyfikatoryNip' => 'vat_id',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1DanePodmiotuNazwa' => 'vendorname',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'naglowekANumerKRS' => 'registration_number_1',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'labelModule' => '_Base',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* Function fetching from Polish National Court Register API.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
\App\Log::warning($e->getMessage(), 'RecordCollectors');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$all .= "$value, ";
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public $label = 'LBL_PL_KRS';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaGmina' => 'addresslevel4a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaPowiat' => 'addresslevel3a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'ncr' => 'registration_number_1',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
if (!$ncr) {
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
$this->convertPkd($this->data['dane']['dzial3']['przedmiotDzialalnosci']['przedmiotPrzewazajacejDzialalnosci'][0]);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* Convert PKD value.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$pkd = $pkd['kodDzial'] . '.' . $pkd['kodKlasa'] . '.' . $pkd['kodPodklasa'];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
return [];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
private function getDataFromApi($ncr): void
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->data = \App\Json::decode($responseData->getBody()->getContents())['odpis'] ?? [];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
unset($this->data['dane']['dzial1']['kapital']['wysokoscKapitaluZakladowego']['wartosc']);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresSiedzibaGmina' => 'addresslevel4a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'Leads' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'daneDzial1SiedzibaIAdresAdresStronyInternetowej' => 'website',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
'dane_dzial1_siedzibaIAdres_siedziba_miejscowosc' => 'addresslevel5a',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
protected $fields = [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->data['Annual revenue'] = (float) $this->data['dane']['dzial1']['kapital']['wysokoscKapitaluZakladowego']['wartosc'];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->data = \App\Utils::flattenKeys($this->data, 'ucfirst');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* @param array $pkd
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* @return void
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
return [];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public function search(): array
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
private function parseData(): void
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$all = '';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
} catch (\GuzzleHttp\Exception\GuzzleException $e) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
if (isset($this->data['dane']['dzial3']['przedmiotDzialalnosci']['przedmiotPrzewazajacejDzialalnosci'][0])) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$this->convertPkd($this->data['dane']['dzial3']['przedmiotDzialalnosci']['przedmiotPrzewazajacejDzialalnosci'][0]);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$ncr = str_replace([' ', ',', '.', '-'], '', $this->request->getByType('ncr', 'Text'));
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
return $this->response;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
->request('GET', "{$this->url}{$ncr}?rejestr=P&format=json");
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* @return void
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
{
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
foreach ($this->data['dane']['dzial3']['przedmiotDzialalnosci']['przedmiotPozostalejDzialalnosci'] as &$value) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*
- Exclude checks