Skip to content

Commit

Permalink
Fixes and improvements (#29)
Browse files Browse the repository at this point in the history
* Fix estimate read time claculation and tests.
* Fix PHPCS issues.
* Fix Stylelint issue.
* Temporarily add drupal/paragraph dependency for field_purge_batch() to proceed.
* Remove link to examples repo.
  • Loading branch information
Niklan authored Jun 28, 2024
1 parent 9548843 commit 529fbcf
Show file tree
Hide file tree
Showing 384 changed files with 1,345 additions and 732 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<img src="./app/Drupal/mechanical/logo.svg" alt="Niklan.net" width="128" align="right">

[![Niklan.net website repository](https://img.shields.io/badge/website-blue?style=flat&logo=github&label=niklan.net)](https://github.com/Niklan/niklan.net)
[![Niklan.net content repository](https://img.shields.io/badge/content-f4f2ef?style=flat&logo=github&label=niklan.net)](https://github.com/Niklan/niklan.net-content)
[![Niklan.net examples repository](https://img.shields.io/badge/examples-yellow?style=flat&logo=github&label=niklan.net
)](https://github.com/Niklan/niklan.net-examples)\
[![Niklan.net content repository](https://img.shields.io/badge/content-f4f2ef?style=flat&logo=github&label=niklan.net)](https://github.com/Niklan/niklan.net-content)\
[![CI](https://github.com/Niklan/niklan.net/actions/workflows/ci.yml/badge.svg)](https://github.com/Niklan/niklan.net/actions/workflows/ci.yml)
[![CD](https://github.com/Niklan/niklan.net/actions/workflows/cd.yml/badge.svg)](https://github.com/Niklan/niklan.net/actions/workflows/cd.yml)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Builder;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Bundler/BundlerManager.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Bundler;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Bundler/SameIdBundler.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Bundler;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\CompilerPass;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Builder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Bundler;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Bundler;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Converter;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Converter;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Environment;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Environment;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Environment;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Extension;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Extension;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Extension;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\ExternalContent;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Finder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Finder;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Identifier;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Identifier;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Loader;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Loader;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Node;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Node;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Parser;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Parser;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Parser;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Serializer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Serializer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Serializer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Contract\Source;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Converter;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Converter/HtmlConverter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Converter;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Data/Attributes.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Data;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Data/BundlerResult.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Data;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Data/ContentBundle.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Data;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Data/ContentCollection.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Data;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Data/ContentVariation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Data;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Data/ConverterResult.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Data;

Expand Down
4 changes: 3 additions & 1 deletion app/Drupal/external_content/src/Data/Data.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types = 1);
<?php

declare(strict_types=1);

namespace Drupal\external_content\Data;

Expand Down
Loading

0 comments on commit 529fbcf

Please sign in to comment.