Failed Conditions
Pull Request — master (#105)
by
unknown
01:30
created

lib/Fixtures/ExampleNote.php (1 issue)

Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * Nextcloud - NextNote
4
 *
5
 *
6
 * @copyright Copyright (c) 2017, Sander Brand ([email protected])
7
 * @license GNU AGPL version 3 or any later version
8
 *
9
 * This program is free software: you can redistribute it and/or modify
10
 * it under the terms of the GNU Affero General Public License as
11
 * published by the Free Software Foundation, either version 3 of the
12
 * License, or (at your option) any later version.
13
 *
14
 * This program is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 * GNU Affero General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU Affero General Public License
20
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
 *
22
 */
23
24
namespace OCA\NextNote\Fixtures;
25
26
class ExampleNote {
27
	const TITLE = 'Welcome to NextNote';
28
	const NOTE_CONTENT = '<h5 style="text-align: center;">Welcome to <a href="https://github.com/brantje/nextnote" target="_blank" rel="noopener">NextNote</a>!&nbsp; Notes are saved in Rich Text format.</h5>
29
<p>This app is considered an <strong><span style="background-color: #00ffff; color: #ff0000;">ALPHA</span></strong> release.&nbsp;<strong>Complete note loss is to be expected</strong> until <a href="https://github.com/brantje/nextnote/issues/50">sharing is fixed</a>,&nbsp;<a href="https://github.com/brantje/nextnote/issues/49">a version 1.0 release is added to the Nextcloud Appstore</a>&nbsp;and basic <a href="https://github.com/brantje/nextnote/issues/96" target="_blank" rel="noopener">note import/export functionality</a> is implemented.</p>
30
<h5 style="text-align: center;">Thanks for your interest! &nbsp;Still Want to help us test?</h5>
31
<p>&nbsp;</p>
32
<ol>
33
<li>Join our <img src="../../../apps/nextnote/js/vendor/tinymce/plugins/emoticons/img/smiley-cool.gif" alt="cool" />&nbsp;<span style="background-color: #ffcc99;">Telegram Chat</span>: <a href="https://t.me/nextnote">https://t.me/nextnote</a></li>
34
<li>You'll need SSH or terminal access to update NextNote to the latest build.</li>
0 ignored issues
show
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_STRING, expecting ',' or ';'
Loading history...
35
<li><code>git pull</code> to update to the latest code -- <a href="https://github.com/brantje/nextnote/commits/master">updates are constant</a>.</li>
36
<li>Please report any issues with <a href="https://github.com/brantje/nextnote/issues" target="_blank" rel="noopener">NextNote here</a>.</li>
37
<li><a href="https://www.tinymce.com" target="_blank" rel="noopener">TinyMCE</a>, the rich text js library for NextNote, can receive bug reports here. <a href="https://github.com/tinymce/tinymce" target="_blank" rel="noopener">https://github.com/tinymce/tinymce</a></li>
38
<li>We appreciate your support!</li>
39
</ol>
40
<h5><strong>FAQ&rsquo;s</strong></h5>
41
<p><em>Where is flat file/Markdown support, folder support, Etc.?</em></p>
42
<p style="text-align: left; padding-left: 30px;">Right now the focus is on stability and sharing. &nbsp;These additional features are on the hopeful roadmap.</p>
43
<p><em>Are keyboard shortcuts supported?</em></p>
44
<p style="padding-left: 30px;">Yes, they are! &nbsp;Just press <span style="font-size: 12pt;"><strong>?</strong></span>&nbsp;in the menu to view them!</p>';
45
}
46